<ul class="listxrss">
	<?php if($this->newsRss && is_array($this->newsRss)): ?>
		<?php foreach($this->newsRss as $key => $rssItem): ?>
			<?php if($key >= $this->countResult): break; endif; ?>
			<li>
				<a href="<?php echo RCMS_Tools_Tools::convertEncoding($rssItem['link']); ?>" class="listtitle" title="<?php echo RCMS_Tools_Tools::convertEncoding($rssItem['title']); ?>"><?php echo RCMS_Tools_Tools::convertEncoding($rssItem['title']); ?></a>
			<?php if(trim($rssItem['pubDate'])): ?>
                <span><?php  echo date("d M Y", strtotime($rssItem['pubDate'])); ?></span> 
            <?php endif;?>
				<p><?php echo strip_tags($rssItem['description']); ?></p>
			</li>
		<?php endforeach; ?>
	<?php endif; ?>
</ul>

